module.exports = {
    userAddError: {
        hasOK: false,
        code: 50000,
        message: '用户注册错误',
        data: ''
    },
    userDeleteError: {
        hasOK: false,
        code: 50000,
        message: '用户删除错误',
        data: ''
    },
    userLoginError: {
        hasOK: false,
        code: 50000,
        message: '登录失败',
        data: ''
    },
    userModifyError: {
        hasOK: false,
        code: 50000,
        message: '修改失败',
        data: ''
    },
    roleAddError: {
        hasOK: false,
        code: 50000,
        message: '角色新增失败',
        data: ''
    },
    roleModifyError: {
        hasOK: false,
        code: 50000,
        message: '修改失败',
        data: ''
    },
    roleDeleteError: {
        hasOK: false,
        code: 50000,
        message: '角色删除错误',
        data: ''
    },
    formateError: {
        hasOK: false,
        code: 50001,
        message: '填写信息不完整',
        data: ''
    },
    userAlreadyExisted: {
        hasOK: false,
        code: 50002,
        message: '用户已经存在',
        data: ''
    },
    userTelAlreadyExisted: {
        hasOK: false,
        code: 50002,
        message: '该电话号码已经被注册使用',
        data: ''
    },
    userDoesNotExist: {
        hasOK: false,
        code: 50004,
        message: '用户不存在',
        data: ''
    },
    invalidPassword: {
        hasOK: false,
        code: 50005,
        message: '密码错误',
        data: ''
    },
    noMenuSelectedError: {
        hasOK: false,
        code: 50006,
        message: '至少选择一个菜单项',
        data: ''
    },
    roleCodeAlreadyExisted: {
        hasOK: false,
        code: 50007,
        message: '该角色编码已被使用',
        data: ''
    },
    userDeleteHimSelfError: {
        hasOK: false,
        code: 50008,
        message: '不能删除自己',
        data: ''
    },
    avatarError: {
        hasOK: false,
        code: 50009,
        message: '头像上传失败，文件格式错误或未传入图片',
        data: ''
    },
    errorAvatarType: {
        hasOK: false,
        code: 50010,
        message: '系统不支持（jepg, jpg, png, gif）以外的图片类型',
        data: ''
    },
    insufficientPermissionsError: {
        hasOK: false,
        code: 50011,
        message: '用户权限不足',
        data: ''
    },
    actapprovedError: {
        hasOK: false,
        code: 50012,
        message: '该活动已经审批，请勿重复审批',
        data: ''
    },
    userTelRepeatError: {
        hasOK: false,
        code: 50013,
        message: '手机号已被注册',
        data: ''
    },
    invalidToken: {
        hasOK: false,
        code: 90008,
        message: '无效token',
        data: ''
    },
    tokenExpiredError: {
        hasOK: false,
        code: 90014,
        message: 'token已过期',
        data: ''
    },
    userLoginDoesNotExist: {
        hasOK: false,
        code: 90015,
        message: '请检查账号是否输入正确',
        data: ''
    },
}